-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap out trivial usages of sequenceNumber in UI keys #12606
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and tests well. 🎉
I am just in process of testing this. Just saw the commit, let me take the latest pull. |
Change is fine and tests well. @roryabraham For mWeb Chrome, the screenshot is not inline, with the other platforms. 🎀 👀 🎀
ScreenshotsWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @roryabraham in version: 1.2.27-0 🚀
|
@@ -109,7 +109,7 @@ class ReportActionsList extends React.Component { | |||
* @return {String} | |||
*/ | |||
keyExtractor(item) { | |||
return `${item.action.clientID}${item.action.reportActionID}${item.action.sequenceNumber}`; | |||
return `${item.action.clientID}${item.action.reportActionID}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the clientID
if we are switching to reportActionID
and there will only ever be one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, we don't need clientID because we're assuming that reportActionID is random enough to be universally unique
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.2.27-4 🚀
|
@roryabraham This is ready for C+ review payout. Can you please help with this? |
@mananjadhav @JmillsExpensify created an upwork job linked to the internal issue for this C+ review payout: https://www.upwork.com/jobs/~019b3e8a37dbfe9d94 |
Thanks @roryabraham. @JmillsExpensify I've applied on Upwork |
Thanks, sent an offer on Upwork. I'll close out the linked issue when @mananjadhav accepts and payment is issued. |
Payment issued! |
Details
Part of deprecating sequence numbers
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/240875
Tests / QA Steps
Web/Desktop
iOS/Android/mWeb
None
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android